<div class="form-group">
    <label for="c-avatar" class="control-label col-xs-12 col-sm-2">服务协议:</label>
    <div class="col-xs-12 col-sm-8">
        <div class="input-group">
            <input id="c-avatar" data-rule="" class="form-control" size="50" name="service_agreement" type="text" value="{$service_agreement??''}">
            <div class="input-group-addon no-border no-padding">
                <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="application/pdf" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> 上传</button></span>
            </div>
            <span class="msg-box n-right" for="c-avatar"></span>
        </div>
        <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
    </div>
</div>